package com.jumi.microservice.warehousein.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author ssk
 * @create 2020/8/11 15:34
 **/
public class JmWarehouseInResponse implements Serializable {
    private static final long serialVersionUID = 706092955413047988L;

    /** 主键ID */
    @ApiModelProperty("入库申请ID")
    private Long inId;

    /** 入库类型ID */
    @ApiModelProperty("入库类型ID")
    private Long inTypeId;

    @ApiModelProperty("入库类型值")
    private String inTypeVal;

    /** 是否为普通入库;0=否,1=是 */
    @ApiModelProperty("是否为普通入库;0=否,1=是")
    private Integer isNormal;

    @ApiModelProperty("旺店通采购单号")
    private String purchaseCode;

    /** 入库时间 */
    @ApiModelProperty("入库时间")
    private Date inTime;

    /** 仓库ID */
    @ApiModelProperty("仓库ID")
    private Long warehouseId;

    /** 仓库类型;0=正规仓,1=破损仓*/
    @ApiModelProperty("仓库类型;0=正规仓,1=破损仓")
    private Integer warehouseType;

    @ApiModelProperty("仓库名称")
    private String warehouseName;

    @ApiModelProperty("仓库地址")
    private String warehouseAddr;

    /** 商品ID */
    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("商品编码")
    private String goodsCode;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品类型;0=售卖商品;1=其他商品")
    private Integer goodsType;


    @ApiModelProperty("单位名称")
    private String unitName;

    /** 供应商ID */
    @ApiModelProperty("供应商ID")
    private Long supplierId;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("供货商厂家名称")
    private String supplierCompanyName;

    /** 批次号 */
    @ApiModelProperty("批次号")
    private String batchCode;

    /** 入库总数 */
    @ApiModelProperty("入库总数")
    private Integer totalNum;

    /** 状态 */
    @ApiModelProperty("状态;0=待审核,1=已审核,2=已入库,3=未通过")
    private int status;

    /** 备注*/
    @ApiModelProperty("备注")
    private String remark;

    /** 审核备注*/
    @ApiModelProperty("审核备注")
    private String auditRemark;

    @ApiModelProperty("入库申请详情")
    private List<JmWarehouseInDetailResponse> details;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("操作人")
    private String updateBy;

    public String getSupplierCompanyName()
    {
        return supplierCompanyName;
    }

    public void setSupplierCompanyName(String supplierCompanyName)
    {
        this.supplierCompanyName = supplierCompanyName;
    }

    public Long getInId() {
        return inId;
    }

    public void setInId(Long inId) {
        this.inId = inId;
    }

    public Long getInTypeId() {
        return inTypeId;
    }

    public void setInTypeId(Long inTypeId) {
        this.inTypeId = inTypeId;
    }

    public Integer getIsNormal() {
        return isNormal;
    }

    public void setIsNormal(Integer isNormal) {
        this.isNormal = isNormal;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getInTypeVal() {
        return inTypeVal;
    }

    public void setInTypeVal(String inTypeVal) {
        this.inTypeVal = inTypeVal;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseAddr() {
        return warehouseAddr;
    }

    public void setWarehouseAddr(String warehouseAddr) {
        this.warehouseAddr = warehouseAddr;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public List<JmWarehouseInDetailResponse> getDetails() {
        return details;
    }

    public void setDetails(List<JmWarehouseInDetailResponse> details) {
        this.details = details;
    }

    public Integer getWarehouseType() {
        return warehouseType;
    }

    public void setWarehouseType(Integer warehouseType) {
        this.warehouseType = warehouseType;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getPurchaseCode() {
        return purchaseCode;
    }

    public void setPurchaseCode(String purchaseCode) {
        this.purchaseCode = purchaseCode;
    }
}
